<template>
	<view class="new-list">
		<titleCom :title='title'></titleCom>
		<gridList :list='list' :isShowDesc='isShowDesc'></gridList>
	</view>
</template>

<script>
	import titleCom from '@/components/custom/title.vue'
	import gridList from '@/components/custom/gridList.vue'
	export default {
		props: {
			list: {
				type: Array,
				require: true,
			},
			title: {
				type: String,
				require: true,
			},
			isShowDesc: {
				type: Boolean,
				default: () => true
			}
		},
		components: {
			titleCom,
			gridList,
		},
		data() {
			return {

			}
		},
		methods: {

		},
	}
</script>

<style lang="scss" scoped>
	.new-list {
		padding-top: 20px;
		background-color: #fff;
	}
</style>